package com.common.iface;

import java.io.Serializable;
import java.util.List;

import com.abstrack.mapper.ComMapper;
import com.common.api.model.PageModel;
import com.common.web.dto.request.FuzzyPageDTO;

/**
 * @author Lenovo
 * mapper 接口处理单个主键
 * @param <DTO>
 * @param <Mapper>
 */
public interface MapperDtoIface<DTO,Mapper extends ComMapper<?>> {

	public PageModel<DTO> queryList(FuzzyPageDTO fuzzyPageDTO);
	
	public int saveDto(DTO dto);

	public int add(DTO dto);
	
	public int modify(DTO dto);
	
	public DTO get(Serializable id);

	public int dels(List<String> idList);
}
